/**
 * @file interface.h
 * @brief
 *
 * @author Mr.Lin (Email：61900302@qq.com)
 * @version 1.0
 * @date 2023-09-04
 *
 * @copyright Copyright (c) 2023 KangTuo Tech.co, Ltd
 *
 * @par 修改日志:
 * Date           Version     Author      Description
 * 2023-09-04     1.0         Mr.Lin      Init
 */

#ifndef _INTERFACE_H_
#define _INTERFACE_H_

#include "stdint.h"

typedef enum {
    LV_ON = 0u,
    LV_OFF
} lv_State_e;

typedef enum {
    PAGE_HOME = 1u,
    PAGE_SET,
    PAGE_OXIMETER
} lv_Screen_e;

typedef enum {
    COMFORT_1L = 0u,
    HEALTH_2L,
    PILOT_3L
} lv_MasterGearState_e;

void lv_example_get_started_1(void);
void lv_send_number(void);
void lv_chart_updata(uint32_t set_time);
void lv_bluetooth_signal_handle(void);
void lv_bluetooth_startup_switch_handle(void);
void lv_master_gear_handler(void);
void lv_battery_percent_set(lv_Screen_e screen, uint8_t bat);
void lv_battery_charge_set(lv_Screen_e screen);

void lv_power_state_set(lv_State_e state);
void lv_master_gear_state_set(lv_MasterGearState_e state);
void lv_speaker_state_set(lv_State_e state);
void lv_bluetooth_set_link_status(uint8_t status);
void lv_battery_lightning_set(uint8_t state);
void lv_oximeter_signal_state_set(lv_State_e state);
void lv_Click_prompt_handler(void);


#endif // _INTERFACE_H_

